package com.zdxk.msgPush.msg.subject;

public class StockTradeMsgTask implements Runnable {

    private String stockTradeMsg;

    public StockTradeMsgTask(String stockTradeMsg) {
        this.stockTradeMsg = stockTradeMsg;
    }

    @Override
    public void run() {
        StockSubject.getInstance().notifyAllObserver(stockTradeMsg);
    }
}
